Ext.define('${app.appName}.store.${app.className}s',{
    extend:'Ext.data.Store',
    model:'${app.appName}.model.${app.className}',
    pageSize:18,
    proxy:{
        type:'ajax',
        reader:{
            type:'json',
            successProperty:'flag',
            root:'pager.entityList',
            totalProperty: 'pager.totalCounts',
            messageProperty:'message'
        },
        api:{
            read:basePath+'/action/${app.lowerName}/get${app.className}s.action',
            create:basePath+'/action/${app.lowerName}/editor.action',
            update:basePath+'/action/${app.lowerName}/editor.action',
            destroy:basePath+'/action/${app.lowerName}/deletes.action'
        },
        writer:{
            type:'json',
            writeAllFields:true,
            root:'model'
        }
    }
})